import 'package:url_launcher/url_launcher.dart';

class VamUrl {
  static Future<void> openLaunchUrl(String url) async {
    await launchUrl(Uri.parse(url), mode: LaunchMode.platformDefault);
  }

  static Future<void> openPrivacy() async {
    await openLaunchUrl(
      'https://www.freeprivacypolicy.com/live/346ff704-3159-484c-ae9f-bc45cee8a797',
    );
  }

  static Future<void> openTerms() async {
    await openLaunchUrl(
      'https://www.freeprivacypolicy.com/live/127157da-381d-4dc9-959b-6d497e68ac50',
    );
  }

  static Future<void> openEula() async {
    await openLaunchUrl(
      'https://www.freeprivacypolicy.com/live/277cc680-9395-41f5-9ddc-5b93c33dfbf9',
    );
  }
}
